<?php
error_reporting(0);
$isadmin=1;
include_once '../comm/config.php';
include '../comm/checkpostandget.php';
include 'check.php';
$webname=$_POST['webname']; 
$url=$_POST['url']; 
$wz=$_POST['wz']; 
$id=$_POST['id']; 
$pic=$_POST['picname'];

$q = "update ".$BIAOTOU."yqlj set webname='".$webname."',url='".$url."',wz=".$wz.",pic='".$pic."' where id='".$id."'";
mysql_query($q);
admin_log('修改合作伙伴');
mysql_close();
header('Location: hzhblist.php');
?>